package com.gxa.modules.model.entity.book;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 预约核酸检测表
 * </p>
 *
 * @author zhuiyi
 * @since 2022-11-12 09:47:43
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_book_hs_check")
@ApiModel(value = "BookHsCheck对象", description = "预约核酸检测表")
public class BookHsCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "hs_ckeck_id", type = IdType.AUTO)
    private Long hsCkeckId;

    @ApiModelProperty("就诊卡号")
    @TableField("cardNum")
    private String cardNum;

    @ApiModelProperty("身份证号")
    @TableField("idCard")
    private String idCard;

    @ApiModelProperty("手机号码")
    @TableField("phone")
    private String phone;

    @ApiModelProperty("科室")
    @TableField("department")
    private String department;

    @ApiModelProperty("检测费")
    @TableField("fee")
    private Double fee;

    @ApiModelProperty("状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("就诊日期")
    @TableField("check_time")
    private Date checkTime;

    @ApiModelProperty("候诊时间")
    @TableField("wait_check_time")
    private String waitCheckTime;

    @ApiModelProperty("预约时间")
    @TableField("appoint_time")
    private Date appointTime;

    @ApiModelProperty("退款id")
    @TableField("refund_id")
    private Long refundId;

    @ApiModelProperty("逻辑删除 0-未删除 1-删除")
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;



    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("医院id")
    @TableField("hospital_id")
    private Long hospitalId;

    @ApiModelProperty("院区id")
    @TableField("park_id")
    private Long parkId;

    @ApiModelProperty("医生id")
    @TableField("doctor_id")
    private Long doctorId;

    @ApiModelProperty("退款原因")
    @TableField("refund_reason")
    private String refundReason;

    @ApiModelProperty("退款时间")
    @TableField("refund_time")
    private Date refundTime;

    @ApiModelProperty("备注")
    @TableField("remark")
    private Date remark;



}
